﻿CREATE PROCEDURE [dbo].[AddNote]
	@NoteId uniqueidentifier,
	@Name nvarchar(max),
    @Content nvarchar(max),
    @Priority int,
    @CreatedBy uniqueidentifier,
    @IsDeleted bit,
	@CreatedOn datetime,
    @LastChanged datetime

AS

	INSERT INTO Note 

	(NoteId, Name, Content, Priority, CreatedBy, IsDeleted, CreatedOn, LastChanged)

	VALUES 

	(@NoteId, @Name, @Content, @Priority, @CreatedBy, @IsDeleted, @CreatedOn, @LastChanged)

RETURN 0